<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    var student={
        name:'凌毅',
        age:16,
        eat:function (){
        alert("开始干饭")
        }
    }
    alert(student.name)
    alert(student.age)
    student.eat()
</script>

</body>
</html>